package com.anjubao.parking.municipal.parkinglot.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author anjubao
 * 返回给前端数据
 */
@Data
@ToString
public class ParkingLotSlotDto {

    @ApiModelProperty(value = "泊位编号id")
    private String id;

    @ApiModelProperty(value = "泊位编号")
    private String code;

    @ApiModelProperty(value = "泊位名称")
    private String name;

    @ApiModelProperty(value = "泊位状态 0:禁用,1:正常,2:占用")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String note;

    @ApiModelProperty(value = "车场类型 1:封闭式,2:路内")
    private Integer parkingLotType;

    @ApiModelProperty(value = "停车场名称")
    private String parkingLotName;

    @ApiModelProperty(value = "停车场id")
    private String parkingLotId;

    @ApiModelProperty(value = "停车场编号")
    private String parkingLotCode;

    @JsonProperty("provinceId")
    @ApiModelProperty(value = "停车场所在省份id")
    private Integer parkingLotProvinceId;

    @JsonProperty("provinceName")
    @ApiModelProperty(value = "停车场所在省份名称")
    private String parkingLotProvinceName;

    @JsonProperty("cityId")
    @ApiModelProperty(value = "停车场所在城市id")
    private Integer parkingLotCityId;

    @JsonProperty("cityName")
    @ApiModelProperty(value = "停车场所在城市名称")
    private String parkingLotCityName;

    @JsonProperty("districtId")
    @ApiModelProperty(value = "停车场所在区域id")
    private Integer parkingLotDistrictId;

    @JsonProperty("districtName")
    @ApiModelProperty(value = "停车场所在区域名称")
    private String parkingLotDistrictName;

    @ApiModelProperty(value = "车位类型 1:普通车位,2:共享车车位,3:保留车位")
    private Integer type;

    @ApiModelProperty(value = "是否可预约 0:不可预约,1:可预约")
    private Integer isCanReserve;

    @ApiModelProperty(value = "故障信息")
    private String malfunctionInfo;

}
